<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1"/>
        <meta content="telephone=no,email=no" name="format-detection" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta content="yes" name="apple-touch-fullscreen">
		<title>注册</title>
		<link rel="stylesheet" type="text/css" href="css/layer.css"/>
		<link rel="stylesheet" type="text/css" href="css/LArea.css"/>
		<link rel="stylesheet" type="text/css" href="css/basic.css"/>
		<link rel="stylesheet" type="text/css" href="css/form.css"/>
		<script src="js/jquery-3.1.1.min.js"></script>
		<script src="js/http.js"></script>
		<script src="js/layer.js"></script>
		<script src="js/LAreaData1.js"></script>
		<script src="js/LArea.js"></script>
		<script src="js/common.js"></script>
		<script src="js/form.js"></script>
		<script>
			$(function(){
				$('form').attr('action',url+'register');
			})
		</script>
	</head>
	<body>
		<header class="header">
			<a href="javascript:window.history.back()" class="return-btn"></a>注册
		</header>
		<div class="form-box">
			<form action="#" method="post"  enctype="multipart/form-data">
				<ul>
				  <li>
			        <span>用户名<em>*</em></span><input type="text" name="username" class="form-input" placeholder="请输入用户名" data-require="username" data-tip="请输入用户名">
			      </li>
			      <li>
			        <span>密码<em>*</em></span><input type="password" name="password" class="form-input" placeholder="请输入密码" data-require="pwd" data-tip="请输入密码">
			      </li>
			      <li>
			        <span>确认密码<em>*</em></span><input type="password" name="" class="form-input" placeholder="请输入确认密码" data-require="surepwd" data-tip="两次密码输入不一致">
			      </li>
			      <li>
			        <span>姓名<em>*</em></span><input type="text" name="xingming" class="form-input" placeholder="请输入姓名" data-require="*" data-tip="请输入姓名">
			      </li>
			       <li>
			        <span>性别<em>*</em></span><select id="xingbie" name="xingbie" class="form-input" data-require="*" data-tip="请选择性别"><option value="">请选择性别</option><option value="0">女</option><option value="1">男</option></select>
			      </li>
			      <li>
			        <span>年龄<em>*</em></span><input type="text" name="nianling" class="form-input" placeholder="请输入年龄" data-require="age" data-tip="请输入正确年龄">
			      </li>
			      <li>
			        <span>身份<em>*</em></span><select id="type" name="type" class="form-input" data-require="*" data-tip="请选择身份"><option value="">请选择身份</option><option value="teacher">我是老师</option><option value="student">我是学生</option></select>
			      </li>
					<li>
						<span>上门家教地址<em>*</em></span><input type="text" id="shangmendizhi" name="shangmendizhi" class="form-input" placeholder="请输入上门地址" >
					</li>
			      <li>
			        <span>手机号<em>*</em></span><input type="text" name="dianhua" class="form-input" placeholder="请输入手机号" data-require="phone" data-tip="请输入正确手机号">
			      </li>
			      <li>
			        <span>所在城市/区县<em>*</em></span><input type="text" name="weizhi" placeholder="点击选择省/市" readonly="readonly" class="form-input" id="place" data-require="*" data-tip="请选择省/市"/>
			      </li>
			      <li class="upload-box">
			        <span>头像</span>
			        <div class="pic-box clearfix upload-head">
			            <div class="add-btn fl">
			              <input type="file" accept="image/gif,image/jpeg,image/jpg,image/png,image/svg" name="headimage">
			            </div>
			        </div>
			      </li>
			      <li>
			        <span>剧种</span>
			        <select name="juzhong" id="juzhong" class="form-input">
			        	<option value="">请选择剧种</option>
			        	<option value="0">京剧</option>
			        	<option value="1">评剧</option>
			        	<option value="2">梆子</option>
			        	<option value="3">豫剧</option>
			        	<option value="6">越剧</option>
			        </select>
			      </li>
			      <li>
			        <span>行当</span>
			        <select name="hangdang" id="hangdang" class="form-input">
			        	<option value="">请选择行当</option>
			        	<optgroup label="生">
				            <option value="老生">老生</option>
				            <option value="小生">小生</option>
				            <option value="娃娃生">娃娃生</option>
				            <option value="武生">武生</option>
				            <option value="坤生">坤生</option>
				            <option value="红生">红生</option>
				        </optgroup>
				        <optgroup label="旦">
				            <option value="青衣">青衣</option>
				            <option value="花旦">花旦</option>
				            <option value="花衫">花衫</option>
				            <option value="武旦">武旦</option>
				            <option value="老旦">老旦</option>
				            <option value="男旦">男旦</option>
				        </optgroup>
				        <optgroup label="净">
				            <option value="正净">正净</option>
				            <option value="武净">武净</option>
				        </optgroup>
				        <optgroup label="丑">
				            <option value="文丑">文丑</option>
				            <option value="武丑">武丑</option>
			
				        </optgroup>
				        <optgroup label="乐器">
				            <option value="乐器">乐器</option>
				        </optgroup>
			        	
			        </select>
			      </li>
			      
			    </ul>
				<input type="submit" value="注册" class="submit-btn" onclick="return check()"/>
			</form>
		</div>
	</body>
</html>
